package compare;

import java.util.*;

public class ListComparator implements Comparator<List<Integer>> {
    @Override
    public int compare(List<Integer> o1, List<Integer> o2) {
        return o1.size() - o2.size();
    }
}
